package task.domain
{
    public class TaskPriority
    {
        public var id:String;
        public var priority:int;
        public var label:String;

        public function TaskPriority(id:String,  priority:int, label:String)
        {
            this.id = id;
            this.priority = priority;
            this.label = label;
        }

        public function toString():String
        {
            return label + "(" + priority + ")";
        }

    }
}
